Companion

object Companion

Functions

Link copied to clipboard
fun getCashFlowAmount(splitTxn: SplitTxn, txnType: InvestTxnType?, investCurr: CurrencyType): Long

Determine the amount of a transaction that is appropriate for a cash flow series for an ROI / IRR computation. Deposits = initial balance, buys, misc exp = positive numbers. These are inflows into the security and outflows of cash. Withdrawals = ending balance, sells, dividends, misc inc = negative values. These are outflows from the security and inflows of cash.